package com.haois.mp.database.module.common.daomain;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by RuiHaoZ on 2018/4/11 10:37
 */
public class TempMessage {
    private Map mapData;
    private TempData tempData;
    private String toUser;
    private String fromUser;
    private String tempId;
    private String url;
    private String tempName;

    public String getTempName() {
        return tempName;
    }

    public void setTempName(String tempName) {
        this.tempName = tempName;
    }

    public String getFromUser() {
        return fromUser;
    }

    public void setFromUser(String fromUser) {
        this.fromUser = fromUser;
    }

    public TempMessage() {
        this.mapData = new HashMap() ;
    }

    public TempMessage(Map tempData) {
        this.mapData = tempData;
    }

    public TempMessage(TempMessage tempMessage) {
        this.mapData = tempMessage.getMapData();
        this.url = tempMessage.getUrl();
        this.tempId = tempMessage.getTempId();
        this.fromUser = tempMessage.getFromUser();
        this.toUser = tempMessage.getToUser();
    }



    public String getToUser() {
        return toUser;
    }

    public void setToUser(String toUser) {
        this.toUser = toUser;
    }

    public String getTempId() {
        return tempId;
    }

    public void setTempId(String tempId) {
        this.tempId = tempId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Map getMapData() {
        return mapData;
    }

    public void setMapData(Map mapData) {
        this.mapData = mapData;
    }

    public void setTempData(TempData tempData) {
        this.tempData = tempData;
    }

    public TempData getTempData() {
        return tempData;
    }
}
